package com.dynabook.ems.model.dto;

import com.dynabook.ems.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工单审批列表查询请求
 *
 * @author system
 * @date 2025-01-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "工单审批列表查询请求", description = "工单审批列表分页查询参数")
public class WorkOrderApprovalListRequest extends PageRequest {

    @ApiModelProperty(value = "搜索内容（可对工单号、成品型号、机型名称、BOM号进行搜索）")
    private String searchText;


    @ApiModelProperty(value = "工单状态（0-待生产审批，1-待修改等）")
    private Integer workOrderStatus;

    @ApiModelProperty(value = "当前用户的部门", hidden = true)
    private String currentUserDepartment;

    @ApiModelProperty(value = "当前用户的科室", hidden = true)
    private String currentUserSection;
}

